import cv2

cap=cv2.VideoCapture('http://192.168.121.122/mjpeg/1')
while True:
    _,frame=cap.read()
    cv2.imshow('aw',frame)
    cv2.waitKey(1)